package com.admission.model;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Lob;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.admission.listener.AuditableEntity;

//学校概况
@Entity
@Table(name="school_intr")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class SchoolIntr extends AuditableEntity {
	public static final String SCHOOLINTR = "010";	//学校简介
	public static final String SCHOOLHISTORY = "020";	//历史沿革
	public static final String HEMC = "030";	//大学城校区
	public static final String LONGDONG = "031";	//龙洞校区
	public static final String DONGFENGLU = "032";	//东风路校区
	public static final String PANYU = "033";	//番禺校区
	public static final String SHAHE = "034";	//沙河校区
	public static final String COOPERATION = "040";	//合作交流
	
	private String content;
	private String type;

	@Lob
	@Basic(fetch = FetchType.LAZY)
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
}
